/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.asset.model.resp;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;

import top.continew.admin.common.model.resp.BaseDetailResp;

import java.io.Serial;
import java.time.*;

/**
 * 耗材详情信息
 *
 * @author CharlieYan
 * @since 2025/05/07 17:38
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "耗材详情信息")
public class ConsumableRecordsDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @Schema(description = "名称")
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 分类ID
     */
    @Schema(description = "分类ID")
    private Long categoryId;

    /**
     * 分类
     */
    @Schema(description = "分类")
    @ExcelProperty(value = "分类")
    private String categoryName;

    /**
     * 规格
     */
    @Schema(description = "规格")
    @ExcelProperty(value = "规格")
    private String specification;

    /**
     * 库存
     */
    @Schema(description = "库存")
    @ExcelProperty(value = "库存")
    private Integer quantity;

    /**
     * 采购价格
     */
    @Schema(description = "采购价格")
    @ExcelProperty(value = "采购价格")
    private Double price;

    /**
     * 供应商ID
     */
    @Schema(description = "供应商ID")
    @ExcelProperty(value = "供应商ID")
    private Long producerId;

    /**
     * 厂商
     */
    @Schema(description = "厂商")
    @ExcelProperty(value = "厂商")
    private String producerName;

    /**
     * 描述
     */
    @Schema(description = "描述")
    @ExcelProperty(value = "描述")
    private String description;
}